<template>
	<view style="width: 100%;margin: auto;">
		<lodings></lodings>
		<web-view :webview-styles="webviewStyles" :src="activity"></web-view>

	</view>
</template>

<script>
	import lodings from '../../components/loding_zdy.vue';
	var that;

	export default {
		components: {
			lodings
		},
		data() {
			return {
				activity: '',
				webviewStyles: {
					progress: {
						color: '#FF3333'
					}
				}
			}
		},
		onLoad(option) {
			// this.showActivity()
			// console.log(decodeURIComponent(option.activity))

			this.activity = decodeURIComponent(option.activity) + '&token=' + uni.getStorageSync('token')
			// console.log(this.activity)
		},
		onReady() {

		},
		methods: {
			// 活动

		}
	}
</script>

<style>
</style>
